<!doctype html>
<html>
<head>
    <meta charset="UTF-8">
    <title>{$menuInfo['name']}</title>
    <link href="Public/favicon.ico" type="image/x-icon" rel="shortcut icon">
    <link rel="stylesheet" type="text/css" href="__ADMIN__/css/base.css" media="all">
    <link rel="stylesheet" type="text/css" href="__ADMIN__/css/common.css" media="all">
    <link rel="stylesheet" type="text/css" href="__ADMIN__/css/module.css">
    <link rel="stylesheet" type="text/css" href="__ADMIN__/css/style.css" media="all">
	<link rel="stylesheet" type="text/css" href="__ADMIN__/css/default_color.css" media="all">
     <!--[if lt IE 9]>
    <script type="text/javascript" src="Public/static/jquery-1.10.2.min.js"></script>
    <![endif]--><!--[if gte IE 9]><!-->
    <script type="text/javascript" src="__ADMIN__/js/jquery-2.0.3.min.js"></script>
    <script type="text/javascript" src="__ADMIN__/js/jquery.mousewheel.js"></script>
    <!--<![endif]-->
    
</head>
<body>
    <!-- 头部 -->
    <include file="./Public/Admin/tpl/header.html" />
    <!-- /头部 -->

    <!-- 边栏 -->
    <include file="./Public/Admin/tpl/left.html" />
    <!-- /边栏 -->

    <!-- 内容区 -->
    <div id="main-content">
        <div id="top-alert" class="fixed alert alert-error" style="display: none;">
            <button class="close fixed" style="margin-top: 4px;">&times;</button>
            <div class="alert-content">这是内容</div>
        </div>
        
        <div id="main" class="main">
		    <div class="main-title"><h2>添加</h2></div>
		    <form action="" method="post" class="form-horizontal">
				<div class="form-item">
					<label class="item-label">上级菜单<span class="check-tips">（不选则为顶级菜单）</span> </label>
					<div class="controls">
						<select name="pid">
							<option value="0">顶级菜单</option>
							<volist name="menu_rows" id="vo">
								<option value="{$vo.pk_id}">{$vo.title_show}</option>
							</volist>
						</select>				
					</div>
				</div>
				
		    
	    		<div class="form-item">
		            <label class="item-label">菜单名<span class="check-tips">（长度为1-20个字符之间）</span></label>
		            <div class="controls">
		                <input type="text" class="text input-large" name="name" value="">
		            </div>
		        </div>
		        
		        <div class="form-item">
		            <label class="item-label">菜单URL<span class="check-tips">（Controller/Action）</span></label>
		            <div class="controls">
		                <input type="text" class="text input-large" name="control" value="">
		            </div>
		        </div>
		        
		        <div class="form-item cf">
                    <label class="item-label">可操作功能<span class="check-tips">（选择当前菜单允许开放的功能）</span></label>
                    <div class="controls">
                    	<volist name="action" id="vo">
                    		<label class="checkbox">
                    			<input type="checkbox" value="{$vo.action}" name="access[]">{$vo.name}
                    		</label>
                    	</volist>
                    </div>
                </div>
		        
		        <div class="form-item">
		            <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
		            <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
		        </div>
		    </form>
        </div>
    </div>
    <!-- /内容区 -->
    
    
    <!-- 底部 -->
	<include file="./Public/Admin/tpl/footer.html" />
    <!-- /底部 -->
